package com.zft.userwalletmanager.infrastructure.gateway.database.dao;

import com.zft.userwalletmanager.domain.bo.WalletBO;
import com.zft.userwalletmanager.infrastructure.gateway.database.model.WalletDO;
import com.zft.userwalletmanager.web.request.WalletBalanceRequest;

public interface WalletDAO {

    WalletDO selectWalletByUserId(String userId,Boolean lock);

    int updateWalletBalance(String userId,Long newBalance);
}
